package com.neutech.studentgrade.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class Student implements Serializable {
        private Integer id;
        private Integer sage;
        private String phone;
        private String classid;
        private Integer rank;
        private Double sum;

        private Double avg;
        private String sno;
        private String sname;
        private String cno;
        private String cname;
        private Double grade;


        public Student(String sno, String sname, Integer sage, String phone, String classid) {
                this.sno = sno;
                this.sname = sname;
                this.sage = sage;
                this.phone = phone;
                this.classid = classid;
        }
}
